package com.recruit.service;

import com.recruit.dao.UpdateUserDao;
import com.recruit.entity.User;

import java.sql.SQLException;

//修改求职者的信息
public class UpdateUserService {
    private UpdateUserDao updateUserDao = new UpdateUserDao();
    int index = 0;


    public int updateUserInfo(User user){
        try {
            index = updateUserDao.updateUser(user);
        } catch (SQLException e) {
            e.printStackTrace();
        }
        return index;
    }

}
